#ifndef _DRVCONSOLEH_
#define _DRVCONSOLEH_

#include "sio.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _stm32l0Usart {
    SioBase super;
    struct {
        uint32_t owner;
        SioOps  ops;
    }Protected;
}UpConsole;

void UpConsoleCreate(UpConsole* sio, const char *name);

#ifdef __cplusplus
}
#endif

#endif  /* sioh */